/* @import "reset.css";
@import "../font/iconfont.css"; */
#page {
  max-width: 750px;
  margin: 0 auto;
}
html,
body,
#page {
  height: 100%;
}
#page {
  display: flex;
  flex-direction: column;
  max-width: 750px;
  margin: 0 auto;
}
/*顶部*/
#header_top {
  height: 0.64rem;
  display: flex;
  background-color: #ff6040;
  padding: 0.45rem 0.12rem 0.32rem 0.33rem;
  color: #ffdfd8;
  font-size: 0.3rem;
  align-items: center;
  justify-content: space-between;
}
#header_top p span.iconfont {
  font-size: 0.3rem;
  color: #ffdfd8;
}
#header_top p:nth-child(1) {
  margin-left: 3.23rem;
}
#header_top p:nth-child(2) {
  width: 1.74rem;
  height: 0.64rem;
  border: 1px solid #ff8a6f;
  border-radius: 0.4rem;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: space-around;
  position: relative;
}
#header_top p:nth-child(2) i {
  width: 1px;
  height: 0.37rem;
  background-color: #ff896e;
  position: absolute;
}
/*导航*/
nav {
  height: 0.6rem;
  background: linear-gradient(#ff6040, #ff887d);
}
nav ul {
  display: flex;
  height: 0.6rem;
  padding: 0 0.4rem 0 0.4rem;
  justify-content: space-between;
}
nav ul li {
  height: 0.6rem;
  display: flex;
  width: 0.9rem;
  align-items: center;
}
nav ul li a {
  display: block;
  color: #fff3f2;
  font-size: 0.26rem;
  position: absolute;
}
nav ul li a.iconfont {
  color: #fff3f2;
  font-size: 0.26rem;
}
nav ul li a.cur {
  font-size: 0.3rem;
  font-weight: bold;
}
nav ul li a i {
  width: 0.4rem;
  height: 0.04rem;
  background-color: #fff;
  border-radius: 0.02rem;
  position: absolute;
  bottom: -0.1rem;
  left: 0.45rem;
}
/*内容*/
main {
  padding-bottom: 2.3rem;
  width: 7.5rem;
}
/*全选*/
#con {
  height: 0.72rem;
  padding: 0 0.2rem;
  background-color: #fff;
  display: flex;
  align-items: center;
}
#con h2 {
  font-size: 0.3rem;
  margin-left: 0.2rem;
  color: #333333;
  font-weight: bold;
  white-space: nowrap;
}
#con span {
  font-size: 0.22rem;
  white-space: nowrap;
}
#con span:nth-of-type(2) {
  color: #ff8268;
  margin-right: 0;
  margin-left: 0.4rem;
}
#con span:nth-of-type(1) {
  color: #333333;
  margin-left: 3.6rem;
  position: relative;
}
#con span:nth-of-type(1) i {
  width: 0.02rem;
  height: 0.22rem;
  background-color: #979797;
  position: absolute;
  top: 0.05rem;
  right: -0.2rem;
}
.con1 {
  margin-top: 0.4rem;
}
/*购物车*/
#cart {
  
  /* height: 7.7rem; */
  background-color: #fff;
}
#cart ul {
  margin-top: 0.2rem;
  padding: 0.2rem;
  box-sizing: border-box;
}
#cart ul li {
  height: 2.16rem;
  display: flex;
  align-items: center;
  margin-bottom: 0.4rem;
}
#cart ul li.last {
  margin-bottom: 0;
}
#cart ul li div:nth-child(1) {
  margin-right: 0.2rem;
  color: #ff6040;
}
#cart ul li div:nth-child(2) {
  margin-right: 0.3rem;
}
#cart ul li div img {
  height: 2.16rem;
}
#cart ul li div.right {
  height: 2.16rem;
}
#cart ul li div.right p {
  white-space: nowrap;
}
#cart ul li div.right p:nth-child(1) {
  font-size: 0.3rem;
  color: #333333;
  width: 4.1rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
#cart ul li div.right p:nth-child(2) {
  font-size: 0.26rem;
  color: #999999;
  width: 4.1rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  margin-top: 0.08rem;
}
#cart ul li div.right p:nth-child(3) {
  width: 1.48rem;
  height: 0.32rem;
  line-height: 0.32rem;
  background-color: #f2f2f2;
  color: #333333;
  font-size: 0.18rem;
  white-space: nowrap;
  margin-right: 0;
  padding: 0 0.05rem 0 0.05rem;
  margin-top: 0.2rem;
  border-radius: 0.05rem;
  display: flex;
  justify-content: space-between;
}
#cart ul li div.right p:nth-child(3) span {
  white-space: nowrap;
}
#cart ul li div.right p:nth-child(3) span.iconfont {
  font-size: 0.14rem;
  color: #333333;
}
#cart ul li div.right p:nth-child(4) {
  font-size: 0.18rem;
  color: #ff694b;
  margin-top: 0.08rem;
}
#cart ul li div.right p:nth-child(5) {
  font-size: 0.14rem;
}
#cart ul li div.right p:nth-child(5) span {
  color: #333333;
}
#cart ul li div.right p:nth-child(5) span:nth-of-type(1) {
  color: #ff6040;
}
#cart ul li div.right p:nth-child(5) span:nth-of-type(2) {
  font-size: 0.4rem;
  margin-left: 0.85rem;
}
#cart ul li div.right p:nth-child(5) span:nth-of-type(3) {
  display: inline-block;
  font-size: 0.4rem;
  background-color: #f2f2f2;
  width: 0.8rem;
  height: 0.4rem;
  text-align: center;
  line-height: 0.4rem;
  font-size: 0.3rem;
}
#cart ul li div.right p:nth-child(5) span:nth-of-type(4) {
  font-size: 0.4rem;
}
#cart ul li div.right p:nth-child(5) i {
  font-size: 0.3rem;
  color: #ff6040;
  margin-left: -0.1rem;
}
#cart ul li div.right p:nth-child(5) del {
  color: #9f9f9f;
}
/*结算*/
#settlement {
  position: fixed;
  bottom: 1.3rem;
  height: 0.98rem;
  background-color: #fff;
  display: flex;
  align-items: center;
  border-top: 1px solid #cccccc;
  padding-left: 0.2rem;
  justify-content: space-between;
}
#settlement input {
  margin-right: 0.2rem;
}
#settlement p {
  white-space: nowrap;
}
#settlement p:nth-of-type(1) {
  margin: 0 1rem 0 0.01rem;
  font-size: 0.3rem;
  color: #333333;
}
#settlement p:nth-of-type(2) {
  display: flex;
  flex-direction: column;
}
#settlement p:nth-of-type(2) span:first-child {
  font-size: 0.3rem;
  color: #333333;
}
#settlement p:nth-of-type(2) span:last-child {
  font-size: 0.18rem;
  color: #9c9c9c;
}
#settlement p:nth-of-type(3) {
  display: flex;
  align-items: flex-end;
  flex-direction: column;
  margin: 0 0.2rem 0 0.3rem;
}
#settlement p:nth-of-type(3) span:nth-child(1) {
  font-size: 0.3rem;
  color: #ff6040;
}
#settlement p:nth-of-type(3) span:last-child {
  font-size: 0.18rem;
  color: #9c9c9c;
}
#settlement p:nth-of-type(4) {
  width: 2.2rem;
  height: 0.98rem;
  background-color: #ff6040;
  font-size: 0.32rem;
  color: #fff;
  text-align: center;
  line-height: 0.98rem;
}
